/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

.allot {
  :global {
    .leftTable,
    .rightTable {
      background-color: #fff;
    }
    .rightTable {
      padding: 16px;
    }
    .ant-table-small {
      border: none;
    }
    .ant-form-item {
      margin-bottom: 16px;
      &:last-child {
        margin-right: 0;
      }
    }
    .ant-table-scroll th {
      white-space: nowrap;
    }
    .status-radio {
      width: 100%;
      .ant-radio-button-wrapper {
        height: auto;
        padding: 16px;
        text-align: center;
        min-width: 140px;
        max-width: 240px;
        width: 20%;
      }
      p {
        line-height: 100%;
        &:last-child {
          margin-bottom: 0;
        }
      }
    }
    .allot-button-wrap {
      button:first-child {
        margin-right: 8px;
      }
    }
    .ant-affix {
      bottom: 0;
      overflow-y: auto;
    }
    .allot-row {
      overflow: hidden;
    }
    .allot-col-left {
      .allot-affix-wrapper {
        position: relative;
      }
      .allot-shrink-bar {
        position: absolute;
        top: 4px;
        right: 0;
        z-index: 1;
      }
    }
    .allot-shrink-unfold {
      .allot-data-wrapper {
        display: none;
      }
      .allot-col-left {
        top: 0;
        position: absolute;
        left: 0;
        z-index: 2;
      }
      .allot-col-right {
        position: relative;
        z-index: 1;
        width: 100%;
      }
      .ant-affix {
        position: static !important;
      }
    }
  }
}
